package com.cn.jinl.domain;

import com.cn.jinl.utils.CommonUtil;

import java.util.Date;

public class FrontDisplay {
    private String id;

    private String pageKey;

    private String pageContent;

    private String pageType;

    private String pageAttr;

    private String extendValue1;

    private String extendValue2;

    private String extendValue3;

    private String extendValue4;

    private String extendValue5;

    private Date createTime;

    private Date updateTime;

    private String fileId;


    private String fileBlob;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPageKey() {
        return pageKey;
    }

    public void setPageKey(String pageKey) {
        this.pageKey = pageKey == null ? null : pageKey.trim();
    }

    public String getPageContent() {
        return pageContent;
    }

    public void setPageContent(String pageContent) {
        this.pageContent = pageContent == null ? null : pageContent.trim();
    }

    public String getPageType() {
        return pageType;
    }

    public void setPageType(String pageType) {
        this.pageType = pageType == null ? null : pageType.trim();
    }

    public String getPageAttr() {
        return pageAttr;
    }

    public void setPageAttr(String pageAttr) {
        this.pageAttr = pageAttr == null ? null : pageAttr.trim();
    }

    public String getExtendValue1() {
        return extendValue1;
    }

    public void setExtendValue1(String extendValue1) {
        this.extendValue1 = extendValue1 == null ? null : extendValue1.trim();
    }

    public String getExtendValue2() {
        return extendValue2;
    }

    public void setExtendValue2(String extendValue2) {
        this.extendValue2 = extendValue2 == null ? null : extendValue2.trim();
    }

    public String getExtendValue3() {
        return extendValue3;
    }

    public void setExtendValue3(String extendValue3) {
        this.extendValue3 = extendValue3 == null ? null : extendValue3.trim();
    }

    public String getExtendValue4() {
        return extendValue4;
    }

    public void setExtendValue4(String extendValue4) {
        this.extendValue4 = extendValue4 == null ? null : extendValue4.trim();
    }

    public String getExtendValue5() {
        return extendValue5;
    }

    public void setExtendValue5(String extendValue5) {
        this.extendValue5 = extendValue5 == null ? null : extendValue5.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTimeFt(){
        String formatTime = CommonUtil.getStrTime(getUpdateTime(),"yyyy-MM-dd HH:mm:ss");
        return formatTime;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileBlob() {
        return fileBlob;
    }

    public void setFileBlob(String fileBlob) {
        this.fileBlob = fileBlob;
    }
}